aboutsummaryrefslogtreecommitdiffstats
path: root/sha3sum [moved to community]/PKGBUILD
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-18 21:27:28 +0100
committerMattias Andrée <maandree@kth.se>2021-02-18 21:27:28 +0100
commit861a2973e5d6742853aff2c8df75cf55f452bd1c (patch)
tree0ac4ac384884b0f270ea35804537142d73b1765e /sha3sum [moved to community]/PKGBUILD
parentUpdate mongotimer (diff)
downloadaur-packages-861a2973e5d6742853aff2c8df75cf55f452bd1c.tar.gz
aur-packages-861a2973e5d6742853aff2c8df75cf55f452bd1c.tar.bz2
aur-packages-861a2973e5d6742853aff2c8df75cf55f452bd1c.tar.xz
sha3sum was moved to community some time ago
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'sha3sum [moved to community]/PKGBUILD')
-rw-r--r--sha3sum [moved to community]/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/sha3sum [moved to community]/PKGBUILD b/sha3sum [moved to community]/PKGBUILD
new file mode 100644
index 0000000..8fac17c
--- /dev/null
+++ b/sha3sum [moved to community]/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@kth.se>
+
+pkgname=sha3sum
+pkgver=1.1.5
+pkgrel=2
+pkgdesc="Keccak-family checksum calculator, including SHA-3"
+arch=(i686 x86_64)
+url="https://github.com/maandree/sha3sum"
+license=('custom:ISC')
+depends=('libkeccak>=1.2')
+makedepends=('libkeccak>=1.2' sed)
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(1a4eef5b09b7f70af1f6970840475d4735a14b4fab21937b9fd104b8606654ce)
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}